window.onhashchange = ()->
  alert 1